<?php

/**
 * Author: Jesse
 * Email : jessedev@163.com
 * Date: 2024/6/17 15:44
 * FileName: OrderModel.php
 * DESC: The Relentless Pursuit of Perfection.
 */

namespace App\Model;


/**
 * 订单模型
 */
class OrderModel extends Model
{
    /**
     * The table associated with the model.
     *
     * @var null|string
     */
    protected ?string $table = 'order';

    public bool $timestamps = false;

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'name' => 'string', 'price' => 'integer', 'num' =>  'integer'];
}